package com.lippeng.taohua.db.page;

import java.io.Serializable;

/**
 * We need to provide some parameter and tell the FrameWork what we want to get.
 * 
 * Yes,I do it at this class.
 * 
 * @author lippeng
 * 
 */
public class PageParam implements Serializable {
	private static final long serialVersionUID = 1L;
	private int firstrownum;
	private int lastrownum;
	private int offset;
	private int span;
	private String order;
	private String sort;

	/**
	 * Getter and Setter
	 */

	public int getFirstrownum() {
		return firstrownum;
	}

	public void setFirstrownum(int firstrownum) {
		this.firstrownum = firstrownum;
	}

	public int getLastrownum() {
		return lastrownum;
	}

	public void setLastrownum(int lastrownum) {
		this.lastrownum = lastrownum;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getSpan() {
		return span;
	}

	public void setSpan(int span) {
		this.span = span;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
